package helloworld.dao;

import helloworld.dao.DAOException;
import helloworld.exception.DuplicateCenterException;
import helloworld.admin.bean.CenterAdminBean;;

public interface CenterDao {
	public CenterAdminBean fetchDetail(String centerName) throws DAOException;
	public CenterAdminBean fetchDetailID(int centerID) throws DAOException;
	public CenterAdminBean[] find(String centerName) throws DAOException;
	public int create(CenterAdminBean center) throws DAOException,DuplicateCenterException;
	public int update(CenterAdminBean center) throws DAOException,DuplicateCenterException;
	public void delete(int centerID) throws DAOException;

}
